
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%
	response.setContentType("text/xml");
%>

<studentdata>

<c:forEach var="StudentList" items="${studentList}">
<student>
<!--<student_id><c:out value="${StudentList.studentId}"/></student_id>-->
<roll_number><c:out value="${StudentList.rollNumber}"/></roll_number>
<enrollment_number><c:out value="${StudentList.enrollmentNumber}"/></enrollment_number>
<registrationNumber><c:out value="${StudentList.registrationNumber}"/></registrationNumber>
<status><c:out value="${StudentList.status}"/></status>
<admission_mode><c:out value="${StudentList.admissionMode}"/></admission_mode>
<student_name><c:out value="${StudentList.studentName}"/></student_name>
<father_name><c:out value="${StudentList.fatherName}"/></father_name>
<date_of_birth><c:out value="${StudentList.dateOfBirth}"/></date_of_birth>
<program_name><c:out value="${StudentList.programName}"/></program_name>
<sequence_number><c:out value="${StudentList.sequenceNumber}"/></sequence_number>
</student>

</c:forEach>
</studentdata>